<?
AZNet::$page = array ( 'id' => '3009', 'name' => 'home', 'title' => 'Trang chủ', 'layout' => 'layouts/nghiepquang_home.html',);
$blocks = array(48882=>array('id'=>'48882','module_id'=>'5524','region'=>'footer','module'=>array('id'=>'5524','name'=>'Footer',),),48878=>array('id'=>'48878','module_id'=>'5557','region'=>'header','module'=>array('id'=>'5557','name'=>'Header',),),49648=>array('id'=>'49648','module_id'=>'5693','region'=>'center','module'=>array('id'=>'5693','name'=>'NewsHome',),),49645=>array('id'=>'49645','module_id'=>'5731','region'=>'right','module'=>array('id'=>'5731','name'=>'eBoxSupportOnline',),),49586=>array('id'=>'49586','module_id'=>'5688','region'=>'banner_slide','module'=>array('id'=>'5688','name'=>'IntroBanner',),),49646=>array('id'=>'49646','module_id'=>'5698','region'=>'right','module'=>array('id'=>'5698','name'=>'NewsHomeHot',),),49647=>array('id'=>'49647','module_id'=>'5723','region'=>'right','module'=>array('id'=>'5723','name'=>'PublicSurvey',),),);
foreach($blocks as &$block){
	if(file_exists(DIR_MODULE.$block['module']['name'].'/class.php')){
		require_once DIR_MODULE.$block['module']['name'].'/class.php';
		$block['object'] = &new $block['module']['name']($block);
		
		if(isset($_POST['form_block_id']) && $_POST['form_block_id'] == $block['id']){
			$block['object']->submit();
		}
	}
}
require_once ROOT_PATH."core/PageBegin.php" ?><div id="vs_wrapper">
    <div id="tcs-header">
<? if(isset($blocks[48878]['object'])) $blocks[48878]['object']->on_draw();?></div>
    <div id="tcs-container">
        <div id="tcs-product-left" style="float: left;">


            <div id="tcs-banner-slide" style="min-height: 250px;">
                
<? if(isset($blocks[49586]['object'])) $blocks[49586]['object']->on_draw();?>
            </div>
            <div id="tcs-product-content" style="float: left;">

                
<? if(isset($blocks[49648]['object'])) $blocks[49648]['object']->on_draw();?>
            </div>


        </div>
        <div id="tcs-product-right" class="right" style="float: left;">
            
<? if(isset($blocks[49645]['object'])) $blocks[49645]['object']->on_draw();?>
<? if(isset($blocks[49646]['object'])) $blocks[49646]['object']->on_draw();?>
<? if(isset($blocks[49647]['object'])) $blocks[49647]['object']->on_draw();?>
            <div class="c"></div>
        </div>
    </div>
    <div style="clear:both;">
<? if(isset($blocks[48882]['object'])) $blocks[48882]['object']->on_draw();?></div>
</div>

<? require_once ROOT_PATH.'core/PageEnd.php' ?>